﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Guline.Iuh.TichLuy.Models
{
    public class GroupRole
    {
        [ForeignKey("GroupID")]
        public Group Group { get; set; }
        [ForeignKey("RoleID")]
        public Role Role { get; set; }
          [Key, Column(Order = 1)]
        public int GroupID { get; set; }
       [Key, Column(Order = 2)]
        public int RoleID { get; set; }
    }
}